<%@page import="com.gadglet.params.*,javax.jdo.PersistenceManager,com.google.appengine.api.users.*,com.gadglet.data.*,com.gadglet.util.*,com.gadglet.data.Gadget,java.util.*,javax.jdo.Query"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="description" content="Google Apps Gadgets Directory" />
	<meta name="keywords" content="Gadgets,Google Apps" />
	<meta name="author" content="Yuval" />
	<link rel="stylesheet" type="text/css" href="/static/pageStyle.css" title="pageStyle" media="screen,projection" />
	<title>Anan Gadgets v0.1</title>
	<script type="text/javascript" language="javascript" src="gadgetservice/gadgetservice.nocache.js"></script>
	
</head>

<body>
<div id="container" >
	<div id="header">
		<h1>Gadglet v0.1 Beta</h1>
		<h2>Google Apps Gadgets Directory Service</h2>
	</div>

	<div id="navigation">
		<ul>
			<li <%if(request.getAttribute("pageName")!=null && request.getAttribute("pageName").equals("gadgets")) out.print("class=\"selected\"");%>><a href="<%=UrlUtils.getHomeUrl(request)%>/index.jsp">Gadgets</a></li>
			<li <%if(request.getAttribute("pageName")!=null && request.getAttribute("pageName").equals("login")) out.print("class=\"selected\"");%>><a href="<%=UrlUtils.getHomeUrl(request,true,false)%>/secure/login.jsp">Login</a></li>
			<%if(DomainUserUtils.isOpenIdUserAdmin()){%><li <%if(request.getAttribute("pageName")!=null && request.getAttribute("pageName").equals("admin")) out.print("class=\"selected\"");%>><a href="<%=UrlUtils.getHomeUrl(request)%>/admin">Admin</a></li><%}%>
			
		</ul>
	</div>